{%include file="header.html"%}
<script language="javascript" src="/public/plupload/jquery.md5.js"></script> 
<link rel="stylesheet" type="text/css" href="/public/css/ui.datepicker.css"/>
<script language="javascript" src="/public/js/ui.datetimepicker.js"></script>
<form action="{%$formAction%}" method="POST" enctype="multipart/form-data" onsubmit="return Validator.Validate(this)">
<!--<dl class="adminoption">
  <dt></dt> 
  <dd><a href="#tab1">{%$systemLang.baseInfo%}</a></dd> 
  <dd><a href="#tab2">{%$systemLang.authority%}</a></dd> 
</dl>
<div id="tab1" class="tab">-->
<table width="100%" border="0" class="adminform" >
  <tr>
    <th align="left">姓名</th>
  </tr>
  <tr>
    <td align="left"><input type="text" class="text" name="userName" dataType="Require" msg="姓名不能空"  value="{%$data.userName%}" id="userName"  /></td>
  </tr>

  <tr>
    <th align="left">手机号</th>
  </tr>
  <tr>
    <td align="left"><input type="text" class="text" name="userPhone" dataType="Require" msg="电话不能空"  value="{%$data.userPhone%}" id="userPhone" /></td>
  </tr>

  <tr>
    <th align="left">收货地址</th>
  </tr>
  <tr>
    <td align="left"><input type="text" class="text" name="userAddress" dataType="Require" msg="地址不能空"  value="{%$data.userAddress%}" id="userAddress" /></td>
  </tr>
  
  <tr>
    <th align="left">数量</th>
  </tr>
  <tr>
    <td align="left"><input type="text" class="text" name="buyNumber" dataType="Require" msg="数量不能空"  value="{%$data.buyNumber%}" id="buyNumber"  /></td>
  </tr>
	
	<!--安全信息 -->
  <tr>
    <th align="left">实收单价钱</th>
  </tr>
  <tr>
    <td align="left"><input type="text" class="text" name="buyPrice" value="{%$data.buyPrice%}" id="buyPrice"  /></td>
  </tr>

  <tr>
    <th align="left">类型</th>
  </tr>
  <tr>
    <td align="left">
      <select id="s1_text1_bold" name="buyType" dataType="Require" msg="类型选择">
        <option value="">--请选择--</option>
        <option value="1" {%if $data.buyType == 1 %}selected="selected"  {%/if%}>普通</option>
        <option value="2" {%if $data.buyType == 2 %}selected="selected"  {%/if%}>精品</option>
      </select>
    </td>
  </tr>
  <tr>
    <th align="left">快递单号</th>
  </tr>
  <tr>
    <td align="left"><input type="text" class="text" name="expressNumber" value="{%$data.expressNumber%}" id="expressNumber"  /></td>
  </tr>

  <tr>
    <th align="left">备注</th>
  </tr>
  <tr>
    <td align="left"><input type="text" class="text" name="remarks" value="{%$data.remarks%}" id="remarks"  /></td>
  </tr>
</table>



<input type="hidden" name="id" value="{%$data.id%}"/>
<input type="submit"  name="button" id="button" value="{%$systemLang.submit%}" class="button"/>
</form>

<script>
	$('#payTime').datetimepicker({dateFormat:"yy-mm-dd hh:ii:00",timeFormat:""});
	function certmd5(){
		var cert = $("#name").val();
		var cmd5 = $.md5(cert);
		$("#md5").val(cmd5);
	}
</script>